package com.job.GaoYuXuan.Homework0709;

/**
 * @author 盖
 * @version 1.0
 * @since 2022-07-10 12:03:56
 */
public class Computer {
    String name;     //电脑品牌
    float price;     //电脑价格
    String model;    //电脑型号

    public void function(){
        System.out.println("我们可以实现计算机的基本功能！！！");
    }

    public Computer() {

    }

    public Computer(String name, float price, String model) {
        this.name = name;
        this.price = price;
        this.model = model;
    }
}